package model;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the new_table database table.
 * 
 */
@Entity
@Table(name="new_table")
@NamedQuery(name="NewTable.findAll", query="SELECT n FROM NewTable n")
public class NewTable implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="idnew_table")
	private int idnewTable;

	private String firstname;

	private String name;

	public NewTable() {
	}

	public int getIdnewTable() {
		return this.idnewTable;
	}

	public void setIdnewTable(int idnewTable) {
		this.idnewTable = idnewTable;
	}

	public String getFirstname() {
		return this.firstname;
	}

	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

}